Google News
logo
ReactJS - Quiz(MCQ)
What property do you need to add to the Suspense component in order to display a spinner or loading state?
function MyComponent() {
  return (
    <Suspense>
      <div>
        <Message />
      </div>
    </Suspense>
  );
}
A)
lazy
B)
loading
C)
fallback
D)
spinner

Correct Answer :   fallback